﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace Model
{
    [DataContract]
    [MB.Orm.Mapping.Att.ModelMap("BatchNumberInfo", "BatchNumberInfo", new string[] { "BATCHNUMBER" })]
    [KnownType(typeof(BatchNumberInfo))]
    public class BatchNumberInfo: MB.Orm.Common.BaseModel
    {
        public BatchNumberInfo()
        { }
        private string _BATCHNUMBER;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("BATCHNUMBER", System.Data.DbType.String)]
        public string BATCHNUMBER
        {
            get { return _BATCHNUMBER; }
            set { _BATCHNUMBER = value; }
        }

        private string _BATCHDATE;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("BATCHDATE", System.Data.DbType.String)]
        public string BATCHDATE
        {
            get { return _BATCHDATE; }
            set { _BATCHDATE = value; }
        }

        private int _FLAG;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("FLAG", System.Data.DbType.Int32)]
        public int FLAG
        {
            get { return _FLAG; }
            set { _FLAG = value; }
        }

        private string _CREATER;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("CREATER", System.Data.DbType.String)]
        public string CREATER
        {
            get { return _CREATER; }
            set { _CREATER = value; }
        }

        private DateTime _CREATEDATE;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("CREATEDATE", System.Data.DbType.DateTime)]
        public DateTime CREATEDATE
        {
            get { return _CREATEDATE; }
            set { _CREATEDATE = value; }
        }

        private string _EDITOR;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("EDITOR", System.Data.DbType.String)]
        public string EDITOR
        {
            get { return _EDITOR; }
            set { _EDITOR = value; }
        }

        private DateTime _EDITDATE;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("EDITDATE", System.Data.DbType.DateTime)]
        public DateTime EDITDATE
        {
            get { return _EDITDATE; }
            set { _EDITDATE = value; }
        }

        private int _ORDERCOUNT;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("ORDERCOUNT", System.Data.DbType.Int32)]
        public int ORDERCOUNT
        {
            get { return _ORDERCOUNT; }
            set { _ORDERCOUNT = value; }
        }

        private int _PICKTASKCOUNT;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("PICKTASKCOUNT", System.Data.DbType.Int32)]
        public int PICKTASKCOUNT
        {
            get { return _PICKTASKCOUNT; }
            set { _PICKTASKCOUNT = value; }
        }
    }
}
